package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipParamItem;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipParamItemService {
	
	@RequestMapping(value = "/p/cs/EquipParamItemService/insert",method = RequestMethod.POST)
	public  ResultBean insert (@RequestBody EquipParamItem equipParamItem);
	
	@RequestMapping(value = "/p/cs/EquipParamItemService/update",method = RequestMethod.POST)
	public ResultBean update (@RequestBody EquipParamItem equipParamItem);
	
	@RequestMapping(value = "/p/cs/EquipParamItemService/batchDelete",method = RequestMethod.POST)
	public ResultBean batchDelete(@RequestBody List<EquipParamItem> equipParamItem);
	
	@RequestMapping(value = "/p/cs/EquipParamItemService/selectAllByPage",method = RequestMethod.POST)
	public ResultBean selectAllByPage(@RequestBody EquipParamItem equipParamItem);

	@RequestMapping(value = "/p/cs/EquipParamItemService/returnSelectAllByParamName",method = RequestMethod.POST)
	public ResultBean returnSelectAllByParamName(@RequestBody EquipParamItem equipParamItem);
	
	@RequestMapping(value = "/p/cs/EquipParamItemService/returnSelectAllByParamNameandParamItemName",method = RequestMethod.POST)
	public ResultBean  returnSelectAllByParamNameandParamItemName(@RequestBody EquipParamItem equipParamItem);
}
